package com.simtop.domain.user;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @ClassName LoginUser
 * @Description TODO   用来接取前端登录用户实体
 * @Author lvyongwei
 * @Date 2020-08-14 16:56
 **/
public class LoginUser implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 验证码
     */
    private String verfyCode;

    /**
     * uuid  验证码存入redis唯一标识
     */
    private String uuid;

    public LoginUser() {
    }

    public LoginUser(String userName, String password, String verfyCode, String uuid) {
        this.userName = userName;
        this.password = password;
        this.verfyCode = verfyCode;
        this.uuid = uuid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVerfyCode() {
        return verfyCode;
    }

    public void setVerfyCode(String verfyCode) {
        this.verfyCode = verfyCode;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "LoginUser{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", verfyCode='" + verfyCode + '\'' +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
